package jp.co.technotree.apl.api.common;

import jp.co.technotree.common.dao.ConnectInfo;

public class AisinSession {
	private String userCd = null;
	private String databaseName = null;
	private String databaseUserId = null;
	private String databasePassword = null;
	private boolean isError = false;
	
	public ConnectInfo getConnectInfo(){
		ConnectInfo info = new ConnectInfo();
		info.dbName = databaseName;
		info.userName=databaseUserId;
		info.password=databasePassword;
		return info;
	}
	
	public void close(){
		
	}
	
	
	public String getUserCd() {
		return userCd;
	}
	public void setUserCd(String userCd) {
		this.userCd = userCd;
	}
	public String getDatabaseName() {
		return databaseName;
	}
	public void setDatabaseName(String databaseName) {
		this.databaseName = databaseName;
	}
	public String getDatabaseUserId() {
		return databaseUserId;
	}
	public void setDatabaseUserId(String databaseUserId) {
		this.databaseUserId = databaseUserId;
	}
	public String getDatabasePassword() {
		return databasePassword;
	}
	public void setDatabasePassword(String databasePassword) {
		this.databasePassword = databasePassword;
	}
	public boolean isError() {
		return isError;
	}
	public void setError(boolean isError) {
		this.isError = isError;
	}

	
	
}
